﻿@model _PLATFORM.WEB.Models.LogOnModel

@{
    ViewBag.Title = "Log On";
}

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@Html.ValidationSummary(true, "Login was unsuccessful. Please correct the errors and try again.")

@using (Html.BeginForm("LogOn", "Account", FormMethod.Post)) {
    <div>
            
        @Html.LabelFor(m => m.UserName)
        <br />
            
        @Html.TextBoxFor(m => m.UserName)
        @Html.ValidationMessageFor(m => m.UserName)
            
        @Html.LabelFor(m => m.Password)
        <br />

        @Html.PasswordFor(m => m.Password)
        @Html.ValidationMessageFor(m => m.Password)
            
        @Html.CheckBoxFor(m => m.RememberMe)
        @Html.LabelFor(m => m.RememberMe)
            
        <input type="submit" class="default button btnSmall" value="Login" /><br /><br />
            
    </div>
}
